MailPoet\Models\Model A

Total Complexity 53
Dependencies 7
Dependents 0
Total lines 364
Lines of code 233
Logical lines of code 139
Comment lines 88
Methods 24
Properties 3

Methods 24

Method Rating Maintainability Complexity Lines of code
_createOrUpdate()
A
49 12 28
save()
S
49 5 31
setError()
S
60 4 14
bulkAction()
S
57 3 17
validate()
S
64 3 9
duplicate()
S
58 2 15
__callStatic()
S
66 2 8
getErrors()
S
68 2 8
isNew()
S
71 2 6
__get()
S
65 2 9
create()
S
66 2 8
setTimestamp()
S
70 2 6
bulkRestore()
S
60 1 12
bulkTrash()
S
60 1 12
__isset()
S
72 1 5
__set()
S
72 1 5
__construct()
S
71 1 6
getTrashed()
S
76 1 4
getPublished()
S
76 1 4
restore()
S
75 1 4
bulkDelete()
S
66 1 8
trash()
S
75 1 4
createOrUpdate()
S
76 1 4
deprecationError()
S
71 1 6